//package com.zhouyu.exampleshiro.service.impl;
//
//import com.zhouyu.exampleshiro.service.UserService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//@Service
//public class UserServiceImpl implements UserService {
//
//    @Autowired
//    UserDao userDao;
//    @Override
//    public User getUserByName(String name) {
//        User user = userDao.findByUsername(name);
//        return user;
//    }
//}
